FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagextehr.eu.ehds.models
Resource TypeStructureDefinition
IdStructureDefinition-EHDSEncounter.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Xt-EHR/xt-ehr-common/StructureDefinition-EHDSEncounter.html
URLhttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
Version1.0.0
Statusactive
Date2026-04-03T08:10:50+00:00
NameEHDSEncounter
TitleEncounter model
DescriptionThe model provides a structured way to capture information about a patient’s interaction with a healthcare service. It enables recording details related to individual encounters and supports linking closely related encounters when needed. Tracking broader or longer episodes of care that extend beyond individual encounters is outside the scope of this model.
Typehttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
Kindlogical

Resources that use this resource

StructureDefinition
xtehr.eu.ehds.models#currentEHDSDischargeReportDischarge Report model
xtehr.eu.ehds.models#currentEHDSEncounterEncounter model
xtehr.eu.ehds.models#currentEHDSImagingStudyImaging study model
xtehr.eu.ehds.models#currentEHDSServiceRequestService request model

Resources that this resource uses

StructureDefinition
xtehr.eu.ehds.models#currentEHDSCarePlanCare plan model
xtehr.eu.ehds.models#currentEHDSConditionCondition model
xtehr.eu.ehds.models#currentEHDSDataSetDataSet model
xtehr.eu.ehds.models#currentEHDSEncounterEncounter model
xtehr.eu.ehds.models#currentEHDSHealthProfessionalHealth professional model
xtehr.eu.ehds.models#currentEHDSLocationLocation model
xtehr.eu.ehds.models#currentEHDSObservationObservation model
xtehr.eu.ehds.models#currentEHDSOrganisationOrganisation model
xtehr.eu.ehds.models#currentEHDSProcedureProcedure model
xtehr.eu.ehds.models#currentEHDSServiceRequestService request model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EHDSEncounter

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSEncounter 0..*EHDSDataSetEncounter model

Elements defined in Ancestors:header
... header
.... author[x] 0..*EHDSHealthProfessional, EHDSOrganisation, EHDSDeviceAuthor (typically a health professional) who is responsible for this encounter
.... status 1..1CodeableConceptStatus of the encounter (e.g. discharged, discontinued, completed)
... priority 0..1CodeableConceptIndicates the urgency of the encounter (e.g. urgent, routine).
... type 1..1CodeableConceptType of the encounter (inpatient, ambulatory, teleconsultation).
... period 1..1PeriodThe actual start and end time of the encounter.
... serviceProvider 0..1EHDSOrganisationThe organisation (facility) responsible for this encounter
... referringProfessional 0..1EHDSHealthProfessionalReferring healthcare professional
... basedOn[x] 0..*Reference to the request that initiated this encounter
.... basedOnEHDSCarePlanEHDSCarePlan
.... basedOnEHDSServiceRequestEHDSServiceRequest
... reason[x] 0..*Reason(s) for admission, e.g. problem, procedure or finding.
.... reasonCodeableConceptCodeableConcept
.... reasonEHDSConditionEHDSCondition
.... reasonEHDSProcedureEHDSProcedure
.... reasonEHDSObservationEHDSObservation
.... reasonStringstring
... admission 0..1BaseDetails about the admission to a healthcare service
.... admitter 0..1EHDSHealthProfessionalAdmitting healthcare professional
.... admitSource 0..1CodeableConceptFrom where the patient was admitted (e.g. physician referral, transfer).
Binding Description: (preferred): HL7 Admit Source
... dischargeDiagnosis[x] 0..*The diagnoses at the time of discharge.
.... dischargeDiagnosisCodeableConceptCodeableConcept
.... dischargeDiagnosisEHDSConditionEHDSCondition
... dischargeDestination 0..1BaseLocation or organisation to which the patient is going after discharge.
.... type 0..1CodeableConceptType of location (e.g. home, hospital, nursing home, etc.)
.... location[x] 0..1The location or organisation (including contact details)
..... locationEHDSOrganisationEHDSOrganisation
..... locationEHDSLocationEHDSLocation
... serviceLocation 0..*BaseList of locations where the patient was present during this encounter.
.... period 0..1PeriodTime period during which the patient was present at the location
.... organisationPart[x] 1..1Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.
..... organisationPartEHDSOrganisationEHDSOrganisation
..... organisationPartEHDSLocationEHDSLocation
... subEncounter 0..*EHDSEncounterReference to encounters that are considered parts of this encounter.
... note 0..1stringFree text notes by the health professional

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSEncounter",
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter",
  "version": "1.0.0",
  "name": "EHDSEncounter",
  "title": "Encounter model",
  "status": "active",
  "date": "2026-04-03T08:10:50+00:00",
  "publisher": "Xt-EHR",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.xt-ehr.eu/"
        }
      ]
    }
  ],
  "description": "The model provides a structured way to capture information about a patient’s interaction with a healthcare service. It enables recording details related to individual encounters and supports linking closely related encounters when needed. Tracking broader or longer episodes of care that extend beyond individual encounters is outside the scope of this model.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter",
  "baseDefinition": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "EHDSEncounter",
        "path": "EHDSEncounter",
        "short": "Encounter model",
        "definition": "The model provides a structured way to capture information about a patient’s interaction with a healthcare service. It enables recording details related to individual encounters and supports linking closely related encounters when needed. Tracking broader or longer episodes of care that extend beyond individual encounters is outside the scope of this model.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header",
        "path": "EHDSEncounter.header",
        "short": "Basic metadata for this information",
        "definition": "Basic metadata for this information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.subject",
        "path": "EHDSEncounter.header.subject",
        "short": "Patient/subject information",
        "definition": "Patient/subject information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.identifier",
        "path": "EHDSEncounter.header.identifier",
        "short": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
        "definition": "Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.author[x]",
        "path": "EHDSEncounter.header.author[x]",
        "short": "Author (typically a health professional) who is responsible for this encounter",
        "definition": "Author (typically a health professional) who is responsible for this encounter",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.author[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.date",
        "path": "EHDSEncounter.header.date",
        "short": "Date and optionally time of authoring/issuing",
        "definition": "Date and optionally time of authoring/issuing",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.status",
        "path": "EHDSEncounter.header.status",
        "short": "Status of the encounter (e.g. discharged, discontinued, completed)",
        "definition": "Status of the encounter (e.g. discharged, discontinued, completed)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.source",
        "path": "EHDSEncounter.header.source",
        "short": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "definition": "Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.language",
        "path": "EHDSEncounter.header.language",
        "short": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "EHDSEncounter.priority",
        "path": "EHDSEncounter.priority",
        "short": "Indicates the urgency of the encounter (e.g. urgent, routine).",
        "definition": "Indicates the urgency of the encounter (e.g. urgent, routine).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.priority",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.type",
        "path": "EHDSEncounter.type",
        "short": "Type of the encounter (inpatient, ambulatory, teleconsultation).",
        "definition": "Type of the encounter (inpatient, ambulatory, teleconsultation).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.period",
        "path": "EHDSEncounter.period",
        "short": "The actual start and end time of the encounter.",
        "definition": "The actual start and end time of the encounter.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.period",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceProvider",
        "path": "EHDSEncounter.serviceProvider",
        "short": "The organisation (facility) responsible for this encounter",
        "definition": "The organisation (facility) responsible for this encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.serviceProvider",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.referringProfessional",
        "path": "EHDSEncounter.referringProfessional",
        "short": "Referring healthcare professional",
        "definition": "Referring healthcare professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.referringProfessional",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.basedOn[x]",
        "path": "EHDSEncounter.basedOn[x]",
        "short": "Reference to the request that initiated this encounter",
        "definition": "Reference to the request that initiated this encounter",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.basedOn[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest"
          }
        ]
      },
      {
        "id": "EHDSEncounter.reason[x]",
        "path": "EHDSEncounter.reason[x]",
        "short": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "definition": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.reason[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission",
        "path": "EHDSEncounter.admission",
        "short": "Details about the admission to a healthcare service",
        "definition": "Details about the admission to a healthcare service",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitter",
        "path": "EHDSEncounter.admission.admitter",
        "short": "Admitting healthcare professional",
        "definition": "Admitting healthcare professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.admitter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitSource",
        "path": "EHDSEncounter.admission.admitSource",
        "short": "From where the patient was admitted (e.g. physician referral, transfer).",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.admitSource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "HL7 Admit Source"
        }
      },
      {
        "id": "EHDSEncounter.dischargeDiagnosis[x]",
        "path": "EHDSEncounter.dischargeDiagnosis[x]",
        "short": "The diagnoses at the time of discharge.",
        "definition": "The diagnoses at the time of discharge.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.dischargeDiagnosis[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination",
        "path": "EHDSEncounter.dischargeDestination",
        "short": "Location or organisation to which the patient is going after discharge.",
        "definition": "Location or organisation to which the patient is going after discharge.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.dischargeDestination",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination.type",
        "path": "EHDSEncounter.dischargeDestination.type",
        "short": "Type of location (e.g. home, hospital, nursing home, etc.)",
        "definition": "Type of location (e.g. home, hospital, nursing home, etc.)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.dischargeDestination.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination.location[x]",
        "path": "EHDSEncounter.dischargeDestination.location[x]",
        "short": "The location or organisation (including contact details)",
        "definition": "The location or organisation (including contact details)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.dischargeDestination.location[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation",
        "path": "EHDSEncounter.serviceLocation",
        "short": "List of locations where the patient was present during this encounter.",
        "definition": "List of locations where the patient was present during this encounter.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.serviceLocation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation.period",
        "path": "EHDSEncounter.serviceLocation.period",
        "short": "Time period during which the patient was present at the location",
        "definition": "Time period during which the patient was present at the location",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.serviceLocation.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation.organisationPart[x]",
        "path": "EHDSEncounter.serviceLocation.organisationPart[x]",
        "short": "Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.",
        "definition": "Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.serviceLocation.organisationPart[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.subEncounter",
        "path": "EHDSEncounter.subEncounter",
        "short": "Reference to encounters that are considered parts of this encounter.",
        "definition": "Reference to encounters that are considered parts of this encounter.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.subEncounter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter"
          }
        ]
      },
      {
        "id": "EHDSEncounter.note",
        "path": "EHDSEncounter.note",
        "short": "Free text notes by the health professional",
        "definition": "Free text notes by the health professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSEncounter",
        "path": "EHDSEncounter",
        "short": "Encounter model",
        "definition": "The model provides a structured way to capture information about a patient’s interaction with a healthcare service. It enables recording details related to individual encounters and supports linking closely related encounters when needed. Tracking broader or longer episodes of care that extend beyond individual encounters is outside the scope of this model."
      },
      {
        "id": "EHDSEncounter.header.author[x]",
        "path": "EHDSEncounter.header.author[x]",
        "short": "Author (typically a health professional) who is responsible for this encounter",
        "definition": "Author (typically a health professional) who is responsible for this encounter"
      },
      {
        "id": "EHDSEncounter.header.status",
        "path": "EHDSEncounter.header.status",
        "short": "Status of the encounter (e.g. discharged, discontinued, completed)",
        "definition": "Status of the encounter (e.g. discharged, discontinued, completed)"
      },
      {
        "id": "EHDSEncounter.priority",
        "path": "EHDSEncounter.priority",
        "short": "Indicates the urgency of the encounter (e.g. urgent, routine).",
        "definition": "Indicates the urgency of the encounter (e.g. urgent, routine).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.type",
        "path": "EHDSEncounter.type",
        "short": "Type of the encounter (inpatient, ambulatory, teleconsultation).",
        "definition": "Type of the encounter (inpatient, ambulatory, teleconsultation).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.period",
        "path": "EHDSEncounter.period",
        "short": "The actual start and end time of the encounter.",
        "definition": "The actual start and end time of the encounter.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceProvider",
        "path": "EHDSEncounter.serviceProvider",
        "short": "The organisation (facility) responsible for this encounter",
        "definition": "The organisation (facility) responsible for this encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.referringProfessional",
        "path": "EHDSEncounter.referringProfessional",
        "short": "Referring healthcare professional",
        "definition": "Referring healthcare professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.basedOn[x]",
        "path": "EHDSEncounter.basedOn[x]",
        "short": "Reference to the request that initiated this encounter",
        "definition": "Reference to the request that initiated this encounter",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest"
          }
        ]
      },
      {
        "id": "EHDSEncounter.reason[x]",
        "path": "EHDSEncounter.reason[x]",
        "short": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "definition": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission",
        "path": "EHDSEncounter.admission",
        "short": "Details about the admission to a healthcare service",
        "definition": "Details about the admission to a healthcare service",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitter",
        "path": "EHDSEncounter.admission.admitter",
        "short": "Admitting healthcare professional",
        "definition": "Admitting healthcare professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitSource",
        "path": "EHDSEncounter.admission.admitSource",
        "short": "From where the patient was admitted (e.g. physician referral, transfer).",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "HL7 Admit Source"
        }
      },
      {
        "id": "EHDSEncounter.dischargeDiagnosis[x]",
        "path": "EHDSEncounter.dischargeDiagnosis[x]",
        "short": "The diagnoses at the time of discharge.",
        "definition": "The diagnoses at the time of discharge.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination",
        "path": "EHDSEncounter.dischargeDestination",
        "short": "Location or organisation to which the patient is going after discharge.",
        "definition": "Location or organisation to which the patient is going after discharge.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination.type",
        "path": "EHDSEncounter.dischargeDestination.type",
        "short": "Type of location (e.g. home, hospital, nursing home, etc.)",
        "definition": "Type of location (e.g. home, hospital, nursing home, etc.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.dischargeDestination.location[x]",
        "path": "EHDSEncounter.dischargeDestination.location[x]",
        "short": "The location or organisation (including contact details)",
        "definition": "The location or organisation (including contact details)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation",
        "path": "EHDSEncounter.serviceLocation",
        "short": "List of locations where the patient was present during this encounter.",
        "definition": "List of locations where the patient was present during this encounter.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation.period",
        "path": "EHDSEncounter.serviceLocation.period",
        "short": "Time period during which the patient was present at the location",
        "definition": "Time period during which the patient was present at the location",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceLocation.organisationPart[x]",
        "path": "EHDSEncounter.serviceLocation.organisationPart[x]",
        "short": "Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.",
        "definition": "Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.subEncounter",
        "path": "EHDSEncounter.subEncounter",
        "short": "Reference to encounters that are considered parts of this encounter.",
        "definition": "Reference to encounters that are considered parts of this encounter.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter"
          }
        ]
      },
      {
        "id": "EHDSEncounter.note",
        "path": "EHDSEncounter.note",
        "short": "Free text notes by the health professional",
        "definition": "Free text notes by the health professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}